package com.vouov.apps.bean;

import org.codehaus.jackson.annotate.JsonIgnore;

import java.util.Date;

/**
 * User: yuminglong
 * Date: 11-10-27
 * Time: 上午11:25
 * Version: 1.0.0
 */
public class AppLogs{
    private long id;
    /**
     * The log type 0: system 1:  user 9: other
     */
    private int type;
    private long userId;
    /**
     * Operation U: update Q: query D: delete I: insert O: other
     */
    private String action;
    private String desc;
    private int lastVersion;
    private String remoteIp;

    @JsonIgnore
    private int state;
    private String memo;
    private long version;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    private Date updateTime;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getLastVersion() {
        return lastVersion;
    }

    public void setLastVersion(int lastVersion) {
        this.lastVersion = lastVersion;
    }

    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp;
    }
}
